//
//  Defin.h
//  TripPlatformTest
//
//  Created by 陈曦 on 15/12/30.
//  Copyright © 2015年 chenxi. All rights reserved.
//

#ifndef Defin_h
#define Defin_h

#define kScreenSize           [[UIScreen mainScreen] bounds].size
#define kScreenWidth          [[UIScreen mainScreen] bounds].size.width
#define kScreenHeight         [[UIScreen mainScreen] bounds].size.height
#define kScreenWidthEight     [[UIScreen mainScreen] bounds].size.width / 8
#define kScreenHeightEight    [[UIScreen mainScreen] bounds].size.height / 8
#define kScreenWidthTen       [[UIScreen mainScreen] bounds].size.width / 10
#define kScreenHeightTen      [[UIScreen mainScreen] bounds].size.height / 10

#define kMainPageDistance  kScreenWidthEight * 1.5//打开左侧窗时，中视图(右视图)露出的宽度
#define kMenuViewWidth (kScreenWidth - kMainPageDistance) //左视图露出的宽度

#define kMainPageScale   0.8  //打开左侧窗时，中视图(右视图）缩放比例
#define kMainPageCenter  CGPointMake(kScreenWidth + kScreenWidth * kMainPageScale / 2.0 - kMainPageDistance, kScreenHeight / 2)  //打开左侧窗时，中视图中心点

#define vSpeedFloat   0.8    //滑动速度
#define kLeftAlpha 0.9  //左侧蒙版的最大值

#define mainColor [UIColor colorWithRed:0 / 255.0 green:137 / 255.0 blue:225 / 255.0 alpha:1]; //导航条主色调

#define lineColor [UIColor colorWithRed:215 / 255.0 green:215 / 255.0 blue:215 / 255.0 alpha:1]; //主线色调

#define wordColor [UIColor colorWithRed:102 / 255.0 green:102 / 255.0 blue:102 / 255.0 alpha:1];//字主色调

#define labelTextColor [UIColor colorWithRed:68 / 255.0 green:68 / 255.0 blue:68 / 255.0 alpha:1];//标题字主色调

#define backgroundMainColor [UIColor colorWithRed:244 / 255.0 green:244 / 255.0 blue:244 / 255.0 alpha:1];//底部主色调










#endif /* Defin_h */
